package com.source.labelAndBarcode.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Joey
 * @since 2021-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="LabelingRecord对象", description="")
public class LabelingRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "labelingRecordId", type = IdType.AUTO)
    private Long labelingRecordId;

    @ApiModelProperty(value = "条码编号")
    @TableField("barcodeNumber")
    private String barcodeNumber;

    @ApiModelProperty(value = "贴标时间")
    @TableField("labelingDate")
    private Date labelingDate;

//    @ApiModelProperty(value = "脚标机编号")
//    @TableField("barcodeMachineId")
//    private String barcodeMachineId;

    @ApiModelProperty(value = "脚标机编号")
    @TableField("barcodeMachineNumber")
    private String barcodeMachineNumber;

    @ApiModelProperty(value = "屠宰档口id")
    @TableField("stallsId")
    private Integer stallsId;

    @ApiModelProperty(value = "所属禽类id")
    @TableField("poultryCategoryId")
    private String poultryCategoryId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createDate", fill = FieldFill.INSERT)
    private Date createDate;

    @TableField("toMarketId")
    private String toMarketId;

    @ApiModelProperty(value = "0：正常  1：已删")
    @TableField("isDelete")
    @TableLogic
    private Boolean isDelete;


}
